export const uploadUrl = `${
  import.meta.env.VITE_UPLOAD_BASE_URL || "/jeecgboot"
}/sys/common/upload`;

import Request from "@/common/utils/request/index";
import { PageList } from "@/types/model/pageList.model";

export const callGetDataList = <T>(url: string, params: any) => {
  return Request.getInstance().send<PageList<T>>({
    url: url,
    params,
    method: "GET",
  });
};
